//
//  KaiYanTabItem.m
//  KaiYan
//
//  Created by tqh on 16/5/18.
//  Copyright © 2016年 tqh. All rights reserved.
//

#import "KaiYanTabItem.h"

@implementation KaiYanTabItem

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self commonInit];
    }
    return self;
}

- (void)commonInit {
    self.label = [UILabel new];
    self.label.textAlignment = NSTextAlignmentCenter;
    self.label.font = [UIFont systemFontOfSize:15];
    [self addSubview:self.label];
}

- (void)layoutSubviews {
    self.label.frame = self.bounds;
}


@end
